package com.ws;

import java.util.List;
import java.util.Map;

import javax.jws.WebService;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.ws.adapter.MapXmlAdapter;
import com.ws.bean.Cat;
import com.ws.bean.User;

@WebService
public interface IHelloWorld {
	String sayHi(String name);
	List<Cat> getCatsByUser(User user);
	@XmlJavaTypeAdapter(MapXmlAdapter.class)  Map<String,Cat> getAllCats();
}
